<!DOCTYPE HTML>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ include file="pages/taglib.jsp" %>
<html>
  <head>
    <base href="<%=basePath%>">
    <title>addRequirement</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<%@ include file="pages/link-script.jsp" %>
  </head>
  <body>         
      <%@include file="pages/header.jsp" %>
		  	<h4 class="sub-header">上传附件</h4>
		  	<div class="row">
				<form action="upload" enctype="multipart/form-data" method="post">
					<div class="form-group col-xs-7">
					    <label for="requirementId">需求编号</label>
					    <s:textfield  class="form-control" name="requirementId" placeholder="xq-yyyy-number" required="true"/>
				  	</div> 
		        	<div class="form-group col-xs-7">
		        		<s:file name="myFile"></s:file>
		        	</div>
				    <div class="form-group col-xs-7">
				  		<button type="submit" class="btn btn-primary">上传</button>
				    </div>  
		    	</form>   
		  	</div>
		<%@include file="pages/footer.jsp" %>
  </body>
</html>
